package com.eamois.service.manual.impl;

import java.util.Collection;

import com.eamois.dao.manual.WorkStepDao;
import com.eamois.domain.manual.ProcessEntity;
import com.eamois.domain.manual.WorkStep;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.manual.WorkStepService;

public class WorkStepServiceImpl extends BaseServiceImpl<WorkStep, WorkStepDao> implements WorkStepService{

	@Override
	public Collection<WorkStep> findStepByProcess(ProcessEntity process) {
		// TODO Auto-generated method stub
		return this.getDao().findStepByProcess(process);
	}

	@Override
	public WorkStep findStepByCode(String code) {
		// TODO Auto-generated method stub
		return this.getDao().findStepByCode(code);
	}

	@Override
	public Collection<WorkStep> findStepByBelongId(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findStepByBelongId(id);
	}

	@Override
	public WorkStep findStepById(Integer id) {
		// TODO Auto-generated method stub
		return this.getDao().findStepById(id);
	}

}
